﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using MinimizeEngine.Managers;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Input;
using MinimizeEngineDemo.Screens;

namespace MinimizeEngineDemo
{
    internal static class Sample6
    {

        /// <summary>
        /// Main Method
        /// </summary>
        public static void Main()
        {
            StartEngine();
        }

        /// <summary>
        /// Start the Engine
        /// </summary>
        private static void StartEngine()
        {
            //Create a new Engine Instance
            MEEngineManager demo = new MEEngineManager("Sample 6 - Grid System");
            
            //Store an instance of the Game
            MEEngineManager.Game = demo;

            //Setup the Initial Screens
            SetupScreens();

            //Run the Demo!!!
            demo.Run();
        }

        /// <summary>
        /// Setup Screens to be shown
        /// </summary>
        private static void SetupScreens()
        {
            MEScreenManager.AddScreen(new MainMenuScreen(), 0);
        }
    }
}
